//==============================================================================
// barracks_anim.txt
//==============================================================================

import Construction_defines_anim.txt

define sfxatimeshiftmediumin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift medium in
		}
	}
}

//down sparkles
define sfxatimeshiftspellin
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift spell in
		}
	}
}

define sfxatimeshiftswirl
{
	set hotspot
	{
		version
		{
			Visualparticle sfx a timeshift swirl tied
		}
	}
}

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
      version
      {
         Visual Building VineB
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define Shield
{
   TechLogic Copper shields/Bronze shields/Iron shields
   set hotspot
   {
      version
      {
         Visual Attachments G Shield wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments G Shield iron
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments G Shield bronze
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
anim idle
{
//---------------------------------Norse------------------------------------------//
      //---------------------------Age 1--------------------------------//
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      SetSelector
      {
         DamageLogic 0 1 50
         set hotspot
         {
            version
            {
               visual Building N Barracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				   connect RIGHTTHIGH FlagBarracks HOTSPOT
				   connect LEFTTHIGH FlagBarracks HOTSPOT
            }
         }
         set hotspot
         {
            version
            {
               visual Building N ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         
      }
      //---------------------------Age 2--------------------------------//
      SetSelector
      {
         DamageLogic 0 1 50
         set hotspot
         {
            version
            {
               visual Building N BarracksAge3
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				   connect RIGHTTHIGH FlagBarracks HOTSPOT
				   connect LEFTTHIGH FlagBarracks HOTSPOT
            }
         }
         set hotspot
         {
            version
            {
               visual Building N ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         
      }
      //---------------------------Age 3--------------------------------//
      SetSelector
      {
         DamageLogic 0 1 50
         set hotspot
         {
            version
            {
               visual Building N BarracksAge4
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
				   connect RIGHTTHIGH FlagBarracks HOTSPOT
				   connect LEFTTHIGH FlagBarracks HOTSPOT
            }
         }
         set hotspot
         {
            version
            {
               visual Building N ConstructionBarracks
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               visual Building Construction Medium B
connect attachpoint sfxatimeshiftmediumin hotspot
connect attachpoint sfxatimeshiftspellin hotspot
connect attachpoint sfxatimeshiftswirl hotspot
		         connect attachpoint N_Long_Brick hotspot
		         connect face N_Long_Brick hotspot
		         connect chin N_Medium_Brick hotspot
		         connect leftfoot N_Medium_Brick hotspot
		         connect lefthand N_Small_Brick hotspot
		         connect leftleg N_Small_Brick hotspot
            }
         }
         
      }
   }
}
